package cn.b.sky.shop.activiti.model;

import java.util.Date;

/**
 * 
 * <strong>Title : WaitTask.java<br></strong>
 * <strong>Package : cn.b.sky.shop.activiti.model<br></strong>
 * <strong>Description : </strong>流程监控表<br> 
 * <strong>Create on : 2016-2-1 下午2:09:52<br></strong>
 * <p>
 * @author lidapeng<br>
 * @version <strong>v1.0.0</strong><br>
 * <br>
 * <strong>修改历史:</strong><br>
 * 修改人 | 修改日期 | 修改描述<br>
 * -------------------------------------------<br>
 * <br>
 * <br>
 */
public class WaitTask {

  private Long id;

  /**
   * 租户id
   */
  private String tenantId;

  /**
   * 业务id
   */
  private String businessKey;

  /**
   * 任务名称
   */
  private String taskName;

  /**
   * 流程定义名称
   */
  private String processDefineName;

  /**
   * 任务创建时间
   */
  private Date createTime;

  /**
   * 任务完成时间
   */
  private Date endTime;

  /**
   * 任务发起者
   */
  private String startor;

  /**
   * 发起时间
   */
  private Date startTime;

  /**
   * 处理人
   */
  private String assignee;
  

  /**
   * 处理人组织
   */
  private String groups;

  /**
   * 多个人
   */
  private String candidateUsers;

  /**
   * 任务id
   */
  private String taskId;

  /**
   * 流程实例id
   */
  private String processInstanceId;

  /**
   * 流程状态0--待办 1--已办 2--终止
   */
  private Integer status;

  /**
   * 流程状态，true 挂起，false 正常
   */
  private Boolean suspended = false;

  /**
   * 流程版本号
   */
  private String version;

  public Long getId() {
    return id;
  }

  public void setId(Long id) {
    this.id = id;
  }

  public String getTenantId() {
    return tenantId;
  }

  public void setTenantId(String tenantId) {
    this.tenantId = tenantId;
  }

  public String getBusinessKey() {
    return businessKey;
  }

  public void setBusinessKey(String businessKey) {
    this.businessKey = businessKey;
  }

  public String getTaskName() {
    return taskName;
  }

  public void setTaskName(String taskName) {
    this.taskName = taskName;
  }

  public String getProcessDefineName() {
    return processDefineName;
  }

  public void setProcessDefineName(String processDefineName) {
    this.processDefineName = processDefineName;
  }

  public Date getCreateTime() {
    return createTime;
  }

  public void setCreateTime(Date createTime) {
    this.createTime = createTime;
  }

  public Date getStartTime() {
    return startTime;
  }

  public void setStartTime(Date startTime) {
    this.startTime = startTime;
  }

  public Date getEndTime() {
    return endTime;
  }

  public void setEndTime(Date endTime) {
    this.endTime = endTime;
  }

  public String getStartor() {
    return startor;
  }

  public void setStartor(String startor) {
    this.startor = startor;
  }

  public String getTaskId() {
    return taskId;
  }

  public void setTaskId(String taskId) {
    this.taskId = taskId;
  }

  public String getProcessInstanceId() {
    return processInstanceId;
  }

  public void setProcessInstanceId(String processInstanceId) {
    this.processInstanceId = processInstanceId;
  }

  public String getAssignee() {
    return assignee;
  }

  public void setAssignee(String assignee) {
    this.assignee = assignee;
  }

  public String getGroups() {
    return groups;
  }

  public void setGroups(String groups) {
    this.groups = groups;
  }
  public String getCandidateUsers() {
    return candidateUsers;
  }

  public void setCandidateUsers(String candidateUsers) {
    this.candidateUsers = candidateUsers;
  }

  public Boolean getSuspended() {
    return suspended;
  }

  public void setSuspended(Boolean suspended) {
    this.suspended = suspended;
  }

  public String getVersion() {
    return version;
  }

  public void setVersion(String version) {
    this.version = version;
  }

  public Integer getStatus() {
    return status;
  }

  public void setStatus(Integer status) {
    this.status = status;
  }

}
